package com.dinglit.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 169876809
 * 
 * @author qianzhang 
 * 
 * 2017-06-07 19:45:34
 * 
 */

@RestController// 标记为：restful
public class HelloController {
   
	/**
	 * 返回demo数据: 请求地址：http://127.0.0.1:8080/
	 *  
	 * @return
	 */
	
    @RequestMapping("/")
    public String hello(){
       return"Hello world!";
    }
}
